﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Print.aspx.cs" Inherits="WebMaster_Administrator_NhapHoaDonBanHang_Print" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>In hóa đơn bán hàng cho TVV</title>
    
    <style type="text/css">
        .style1
        {
            width: 356px;
        }
        .style2
        {
            height: 23px;
        }
        .style3
        {
            height: 16px;
        }
    </style>
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tbody>
                <tr>
                    <td>
                        <asp:Panel ID="pnlPrintHoaDon" runat="server">
                            
                            <table width="100%">
                                <tbody>
                                    <tr>
                                        <td colspan="2" align="left">
                                            <asp:Label ID="lblTrungTamPP" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>  
                                    <tr>                                        
                                        <td colspan="2" align="left">
                                            <asp:Label ID="lblDiaChi" runat="server" Text=""></asp:Label>
                                        </td>
                                        
                                    </tr>
                                    <tr>                                        
                                        <td colspan="2" align="left">
                                        
                                            <asp:Label ID="lblTelFax" runat="server" Text=""></asp:Label>
                                        
                                        </td>
                                        
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center" class="lblTitleReport1">
                                            <asp:Label ID="lblTitle" runat="server" Text="Lệnh Xuất Hàng"></asp:Label> </td>
                                    </tr>                                   
                                    <tr>
                                        <td>
                                            <table width="100%" style="font-size: 11px">
                                                <tr>
                                                    <td class="style2">
                                                        Tư vấn viên:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                        <asp:Label ID="lblTenTVV" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        Điện thoại:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                        <asp:Label ID="lblDienThoai" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style2">
                                                        Số đơn hàng:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                        <asp:Label ID="lblSoDonHang" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        Ngày đơn hàng:&nbsp;
                                                        <asp:Label ID="lblNgayDonHang" runat="server" Text=""></asp:Label>
                                                        &nbsp;</td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td align="center" valign="top">&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:Panel ID="PanelHD" runat="server" BorderColor="Black" BorderStyle="Double" 
                                                Width="60%">
                                                <table style="width: 100%; margin-left: 0px;">
                                                    <tr>
                                                        <td align="center">
                                                            Phần Phiếu Thu
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style1" style="font-size: 11px">
                                                            Số phiếu thu:&nbsp;
                                                            <asp:Label ID="lblSoPhieuThu" runat="server" Text=""></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style1" style="font-size: 11px">
                                                            Tư vấn viên:&nbsp;&nbsp;
                                                            <asp:Label ID="lblTenTVVPhieuThu" runat="server" Text=""></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style1" style="font-size: 11px">
                                                            Số tiền:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                            <asp:Label ID="lblSoTien" runat="server" Font-Bold="True" ForeColor="Red" 
                                                                Text=""></asp:Label>
                                                            &nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style1" style="font-size: 11px">
                                                            Thủ quỹ ký tên ________________________</td>
                                                    </tr>
                                                </table>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                        </td>
                                    </tr>
                                    
                                    <tr>                                        
                                        <td colspan="2">
                                            
                                            <asp:GridView ID="gvListChiTietHoaDon" runat="server" 
                                                AutoGenerateColumns="False" Width="100%" Font-Size="10px">
                                                <Columns>
                                                    <asp:BoundField DataField="STT" HeaderText="STT">
                                                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="MaHang" HeaderText="Mã hàng">
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="TenHang" HeaderText="Tên hàng">
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="SoLuong" HeaderText="Số Lượng">
                                                        <ItemStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Gia" DataFormatString="{0:###,###}" 
                                                        HeaderText="Đơn giá">
                                                        <HeaderStyle HorizontalAlign="Right" />
                                                        <ItemStyle HorizontalAlign="Right" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="ThanhTien" DataFormatString="{0:###,###}" 
                                                        HeaderText="Thành tiền">
                                                        <HeaderStyle HorizontalAlign="Right" />
                                                        <ItemStyle HorizontalAlign="Right" />
                                                    </asp:BoundField>
                                                </Columns>
                                            </asp:GridView>
                                            
                                        </td>                                        
                                    </tr>             
                                    
                                </tbody>
                            </table>
                            <asp:Panel ID="pnlNVDieuChinhGia_F" runat="server" Font-Size="10px">
                            <table width="100%">
                                <tr>
                                    <td colspan="3">
                                    </td>
                                    
                                </tr>
                                <tr>
                                    <td align="center" style="font-size: 11px">
                                        Tiền chưa chiết khấu
                                        <br />
                                        <asp:Label ID="lblTienChuaChietKhau" runat="server" Font-Bold="True" 
                                            ForeColor="Red"></asp:Label>
                                    </td>                                    
                                    <td align="center" style="font-size: 11px">
                                        Khuyến mãi bằng tiền
                                        <br />
                                        <asp:Label ID="lblKhuyenMaiBangTien" runat="server" Font-Bold="True" 
                                            ForeColor="Red"></asp:Label>
                                    </td>
                                    <td align="center" style="font-size: 11px">
                                        Tiền còn phải thanh toán
                                        <br />
                                        <asp:Label ID="lblTienConPhaiThanhToan" runat="server" Font-Bold="True" 
                                            ForeColor="Red" Font-Size="10px"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                    
                                    </td>                                    
                                </tr>
                                <tr>
                                    <td align="center" class="style3" style="font-size: 11px">
                                        <asp:Label ID="lblChuKyKeToan" runat="server" Text="Kế toán"></asp:Label>                                        
                                    </td>
                                    <td align="center" class="style3" style="font-size: 11px">
                                        <asp:Label ID="lblChuKyTVV" runat="server" Text="Tư vấn viên"></asp:Label>                                        
                                    </td>
                                    
                                    <td align="center" class="style3" style="font-size: 11px">                                       
                                        
                                         <asp:Label ID="lblChuKyThuKho" runat="server" Text="Thủ kho"></asp:Label>                                        
                                    </td>                                        
                                </tr>
                                <tr>
                                    <td colspan="3" height="100px">
                                    
                                    </td>                                    
                                </tr>
                            </table>
                            </asp:Panel>
                        </asp:Panel>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
